#ifndef VIDEOCHILD_H
#define VIDEOCHILD_H

#include <QVideoWidget>
#include "JWWS_global.h"
#include "../JWTS/INCLUDE/MdiChild.h"

class JWWS_EXPORT VideoChild : public QVideoWidget, public MdiChild
{
    Q_OBJECT
public:
    explicit VideoChild(const char *p_file_name, QWidget* parent = nullptr);

signals:
    void windowShown();

protected:
    void closeEvent(QCloseEvent *event) override;
    void showEvent(QShowEvent *event) override;
};

#endif // VIDEOCHILD_H
